<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>OpenWindow3D</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">OpenWindow3D()</font></b></p>
<p><b>Syntax</b></p><blockquote>

Result = <font color="#006666"><b>OpenWindow3D</b></font>(#Window3D, x, y, InnerWidth, InnerHeight, Title$ [, Flags])</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Opens a new window on the current <a href="../screen/openscreen.html">screen</a> according to the specified parameters. 
The new window becomes the active window, it's not needed to use <a href="setactivewindow3d.html">SetActiveWindow3D()</a> (unless the window is created as invisible). 
All possible events in a window are handled with <a href="windowevent3d.html">WindowEvent3D()</a>. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Window3D</i></td>
<td width="90%"> 
 
A number to identify the new 3D window. 
<a href="../reference/purebasic_objects.html">#PB_Any</a> can be used to auto-generate this number. 

 

</td></tr>
<tr><td><i>x, y</i></td>
<td> 
 
The initial position of the 3D window in the screen (unless one of the center flags is used). 

 

</td></tr>
<tr><td><i>InnerWidth, InnerHeight</i></td>
<td> 
 
The initial size of the client area of 3D window (without borders and window 
decorations). 

 

</td></tr>
<tr><td><i>Flags (optional)</i></td>
<td> 
 
It can be a combination of the following values: 
 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Window3D_SizeGadget</font> : Adds the sizeable feature to a window.
  <font color="#924B72">#PB_Window3D_Invisible</font>  : Creates the window but don't display it.
  <font color="#924B72">#PB_Window3D_BorderLess</font> : Creates a window without any borders.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>



Nonzero if the 3D window has been successfully opened, zero otherwise. 

 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="closewindow3d.html">CloseWindow3D()</a>, <a href="windowevent3d.html">WindowEvent3D()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=iswindow3d.html>IsWindow3D()</a> - <a href=index.html>Window3D Index</a> - <a href=resizewindow3d.html>ResizeWindow3D()</a> -&gt;



</body></html>